﻿@model Mulala.Cavan.Presentation.Seedwork.IWebModel

@{
    ViewBag.Title = "Error";
}

<h2>
    对不起:处理请求过程中发生了异常
</h2>
 <h3> 异常详细: </h3>
  <div >
    @foreach (var ex in Model.Messages
                        .Where(m => m.ShortName == "Exception")
                        .Select(m => m.AdditionalData as Exception))
    {
        <div><b>@ex.GetType().FullName</b>:@ex.Message</div>
        <div><pre style="font-size: medium;">@ex.StackTrace</pre></div>
    }
  </div>